package com.itheima.service;

import com.itheima.pojo.PageResult;
import com.itheima.pojo.Permission;
import com.itheima.pojo.QueryPageBean;

public interface PermissionService {
    void add(Permission permission);

    PageResult findPage(QueryPageBean queryPageBean);

    Permission findById(Integer id);

    void edit(Permission permission);

    void delete(int id);
}
